package com.smxy.daydayup.pojo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.stereotype.Component;

/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Component
@ApiModel("学院实体类")
public class College implements Serializable {

    @ApiModelProperty(value = "学院id")
    private Long collegeId;

    @ApiModelProperty(value = "学院编号")
    private String collegeNumber;

    @ApiModelProperty(value = "学院名称")
    private String collegeName;

    @ApiModelProperty(value = "学校id(外键)")
    private Long schoolId;

    private static final long serialVersionUID = 1L;
}